import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'

import './assets/main.css'
import './assets/reset.css'
import "./assets/font/iconfont.css"

import { Button } from 'vant';
import 'vant/lib/index.css';

import { Tab, Tabs } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Image as VanImage } from 'vant';
import { Icon } from 'vant';
import { Lazyload } from 'vant';
import { SwipeCell } from 'vant';
import { Cell, CellGroup } from 'vant';
import { List } from 'vant';
import { Toast } from 'vant';
import { Popup } from 'vant';

import { Loading } from 'vant';
import { ShareSheet } from 'vant';

import { NavBar } from 'vant';

import { Overlay } from 'vant';

import {
    Skeleton,
    SkeletonTitle,
    SkeletonImage,
    SkeletonAvatar,
    SkeletonParagraph,
} from 'vant';


const app = createApp(App)

app.use(Skeleton);
app.use(SkeletonTitle);
app.use(SkeletonImage);
app.use(SkeletonAvatar);
app.use(SkeletonParagraph);

app.use(Overlay);
app.use(NavBar);
app.use(ShareSheet);
app.use(Loading);
app.use(Popup);
app.use(Toast);
app.use(List);
app.use(Cell);
app.use(CellGroup);
app.use(Button);
app.use(SwipeCell);

app.use(Lazyload);
app.use(Tab);
app.use(Tabs);
app.use(Swipe);
app.use(SwipeItem);
app.use(VanImage);
app.use(Icon);

app.use(createPinia())
app.use(router)

app.mount('#app')
